from pathlib import Path


def append_path_name(path0: Path, suffix: str):
    # if path0.is_dir():
    return path0.parent / (path0.name + suffix)